package com.lantosec.hmrp.modules.workflow.vo;

import com.lantosec.hmrp.modules.system.vo.UserQueryVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "任务会签设置对象", description = "任务会签设置对象")
public class TaskCountersignVO {
    //{"isOneVote":1,"ratio":60,"voteUser":{"deptId":"006","positionId":"123","userId":"111"}}

    /**
     * 会签通过比率（0-100）
     */
    @ApiModelProperty(value = "会签通过比率（0-100）")
    private Integer ratio;

    @ApiModelProperty(value = "是否一票权（0 否， 1 是）")
    private Integer isOneVote;

    @ApiModelProperty(value = "一票权用户配置")
    private UserQueryVO voteUser;
}
